<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head></h:head>
<body>
	<h:form>
		<p:panel header="Save New Employee">

			<h:panelGrid columns="2">
				<p:outputLabel for="employeeID" value="Employee ID"></p:outputLabel>
				<p:inputText id="employeeID" value="#{registrationBean.employeeId}"></p:inputText>

				<p:outputLabel for="employeeFirstName" value="Employee First Name">


				</p:outputLabel>
				<p:inputText id="employeeFirstName"
					value="#{registrationBean.employeeFirstName}"></p:inputText>

				<p:outputLabel for="employeeLastName" value="Employee Last Name">


				</p:outputLabel>
				<p:inputText id="employeeLastName"
					value="#{registrationBean.employeeLastName}"></p:inputText>


				<p:outputLabel for="employeeUserName" value=" Login Name">


				</p:outputLabel>
				<p:inputText id="employeeUserName"
					value="#{registrationBean.employeeLoginName}"></p:inputText>





			</h:panelGrid>
			<p:commandButton action="#{registrationBean.saveEmployee()}"
				value="Save New Employee"></p:commandButton>

		</p:panel>


	</h:form>

</body>
</html>
